Skip to content

Conversation

@mcayland-ntx
Copy link
Contributor

Newer kernels implement read register caching for the gpio-pci-idio-16 which means that the pin counter is never incremented, making it impossible to change the input register for testing.

Improve the gpio-pci-idio-16 emulation so that the input and output registers match those of the real hardware, and update the logic so that toggling an output line 3 times will toggle the corresponding input line to allow testing individual inputs and outputs.

Newer kernels implement read register caching for the gpio-pci-idio-16 which
means that the pin counter is never incremented, making it impossible to change
the input register for testing.

Improve the gpio-pci-idio-16 emulation so that the input and output registers
match those of the real hardware, and update the logic so that toggling an
output line 3 times will toggle the corresponding input line to allow testing
individual inputs and outputs.

Signed-off-by: Mark Cave-Ayland <[email protected]>
@tmakatos tmakatos merged commit ca9943b into nutanix:master Oct 21, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants